import { Controller, Get, Param, ParseIntPipe } from '@nestjs/common';
import { AppService } from './app.service';

@Controller()
export class AppController {
  constructor(private readonly appService: AppService) {}

  @Get('/child_process')
  getHello(): string {
    return this.appService.getHello();
  }
  @Get('/j1')
  getH2() {
    return this.appService.insetExcel();
  }

  @Get('/j2')
  getH1() {
    return this.appService.toinsetExcel();
  }

  @Get('/j3')
  getH3() {
    return this.appService.gege();
  }

  @Get('/j4')
  getH4() {
    return this.appService.toinsetExcelq();
  }

  @Get('/jj')
  getH(): string {
    return this.appService.getH();
  }



  // @Get(':id')
  // getY(@Param('id') id: string): string {
  //   console.log(typeof id, id);

  //   return 'AA';
  // }
}
